package refactor.pullupmethod.original;

import java.util.Date;

public class RegularCustomer extends Customer {
    private Date lastBillDate;
    private double charge;

    public void createBill(Date date) {
        double chargeAmount = chargeFor(lastBillDate, date);
        addBill(date, charge);
    }

    private double chargeFor(Date lastBillDate, Date date) {
        return 2;
    }
}
